package com.xbongbong.admin.model;

import com.xbongbong.admin.domain.entity.PaasFormRetainEnity;

import java.util.List;
import java.util.Map;

/**
 * PAAS 表单类
 *
 * @author wufeng
 * @time 2018-8-8 9:47
 */
public interface PaasFormRetainModel {
    /**
     * 查询列表
     * @author  jiyonghui
     * @date 2019/11/21
     * @param entity
     * @return
     */
    List<PaasFormRetainEnity> findEntitys(Map<String, Object> entity);

    Integer insertBatch(List<PaasFormRetainEnity> enities, String corpid);

    /**
     * 批量删除
     * @param list 主键id集合
     * @param corpid
     * @author xingxing.xiao
     */
    Integer deleteBatch(List<Long> list, String corpid);

}
